package com.kedacom.ctsp.authority.entity;


import com.kedacom.ctsp.web.entity.CrudEntity;
import com.kedacom.ctsp.web.entity.StatefulBean;

/**
 * @author sunchenjie
 * @date 2017/11/12
 * <p>
 * STPK 状态的主键类型
 * UPK settingForId（（userId、组织结构id）的主键类型
 * PK resource、resourceSetting表的主键类型
 */
public interface ResourceSettingRelation extends CrudEntity<String>, StatefulBean<Integer>, ExtendedBean {


    String SETTING_FOR_TYPE = "settingForType";
    String SETTING_FOR_ID = "settingForId";

    String RESOURCE_ID = "resource.id";
    String RESOURCE_TYPE = "resourceType";
    String RESOURCE_SIGN = "resource.sign";
    String FIELD = "field";
    String DATA_ACCESS = "dataAccess";
    String DATA_SCOPE = "dataScope";
    String REMARK = "remark";
    /**
     * 项目标识
     */
    String RESOURCE_CLIENT_SIGN = "resource.clientSign";

    String getSettingForId();

    void setSettingForId(String settingForId);


    SettingForType getSettingForType();

    void setSettingForType(SettingForType settingForType);

    Resource getResource();

    void setResource(Resource resource);

    String getExcludeFields();

    void setExcludeFields(String field);

    String getDataAccess();

    void setDataAccess(String dataAccess);

    String getDataScope();

    void setDataScope(String dataScope);


    String getRemark();

    void setRemark(String remark);
}
